// 用户信息
const request = require('../utils/request')

export function login(data:any) {
  return request({
    url:'/login',
    method:'POST',
    data
  })
}

// 更新用户信息
export function setUserInfo(data:userInfo) {
  return request({
    url:"/setUserInfo",
    method:"POST",
    data
  })
}

export function getUserInfo() {
  return request({
    url:"/getUserInfo",
    method:"GET"
  })
}
